package com.platform.service.impl;

import com.platform.dao.SmsTemplateDao;
import com.platform.entity.SmsTemplateDO;
import com.platform.service.SmsTemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class SmsTemplateServiceImpl implements SmsTemplateService {
    @Autowired
    private SmsTemplateDao smsTemplateDao;


    @Override
    public SmsTemplateDO queryObject(Integer id) {
        return smsTemplateDao.queryObject(id);
    }

    @Override
    public List<SmsTemplateDO> queryList(Map<String, Object> map) {
        return smsTemplateDao.queryList(map);
    }
}
